package com.cskaoyan.service;

import com.cskaoyan.bean.marketingmanagementbean.ReadVO;
import com.cskaoyan.bean.marketingmanagementbean.TopicData;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.MarketTopic;
import com.cskaoyan.bean.wx.home.vo.TopicVo;

import java.util.List;

public interface TopicService {
    TopicData topicList(BaseParam baseParam, String title, String subtitle);

    void topicCreate(MarketTopic marketTopic);

    void topicDelete(MarketTopic marketTopic);

    ReadVO topicRead(String id);

    void batchDelete(Integer[] ids);

    List<TopicVo> queryAllTopic();

    void update(MarketTopic marketTopic);

    MarketTopic queryTopic(Integer id);
}
